wayland: Move popups with xdg_popup.reposition
authorJonas Ådahl <jadahl@gmail.com>
Sun, 16 Feb 2020 19:09:42 +0000 (20:09 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 8 Apr 2020 21:32:47 +0000 (23:32 +0200)
commit5425edff8282ac965888468aff31470d13ce8cd8
treebbfd433519f161bdeab5e60f841865cc770a5e63
parent213c471bb7a0180b6a84854bc6bb680aac8a667d
wayland: Move popups with xdg_popup.reposition

The third version of xdg-shell introduces support for explicit popup
repositioning. If available, make use of this to implement popup
repositioning.

Note that this does *NOT* include atomic parent-child state
synchronization. For that,
https://gitlab.freedesktop.org/wayland/wayland-protocols/issues/13 will
be needed.

This currently uses my own fork of wayland-protocols which adds meson
support, so that we can use it as a subproject. Eventually when
wayland-protocols' meson support lands upstream, we should change it to
point there.

Silence some meson warnings while at it to make CI happy.

This also bumps the glib requirement, since g_warning_once() is used.
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdksurface-wayland.c
gdk/wayland/meson.build
gtk/meson.build
meson.build
subprojects/wayland-protocols.wrap [new file with mode: 0644]